package backend

import(
	"time"
)

var(

	DefaultPosts = []map[string]interface{} {
		map[string]interface{}{"title": "First post", "body": "##first  body here", "created": time.Now() },
		map[string]interface{}{"title": "Second post", "body": "##second body here", "created": time.Now() },
	}


	//Registration Questionnaire
	RegistrationQuestionnaire = Template{Version:1, Name:"Registration Questionnaire", UID:"reg_questionnaire", 
	Desc:"Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here Very long description here ",
	Sections: []Section{ 
		Section{Name:"Organization", Desc:"Tell us about the organization",
	Questions: []TQ{
		TQ{Id:1, Text:"Organization Information", Desc:"org name", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"Name", Required:true},
			TA{Id:2, Text:"Web site", Required:true},
			TA{Id:3, Text:"Headquarters location", Required:true},
			TA{Id:4, Text:"Shareholding structure", Required:true},
			},
		},
		TQ{Id:2, Text:"Questionnaire Editior", Desc:"person filling the questionnaire", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"Name", Required:true},
			TA{Id:2, Text:"Position", Required:true},
			TA{Id:3, Text:"Telephone/Mobile", Required:true},
			TA{Id:4, Text:"E-mail", Required:true},
			},
		},
	},
	}, //Section Organization
		Section{Name:"Business and Technical", Desc:"Tell us more about your business and technicality",
	Questions: []TQ{
		
		TQ{Id:3, Text:"Application to be on the Cloud", Desc:"provided app", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"Name", Required:true},
			TA{Id:2, Text:"Brief Description", Required:true, Length:"long"},
			TA{Id:3, Text:"The key differentitors against other solutions available in the market", Required:true, Length:"long"},
			},
		},
		TQ{Id:4, Text:"Application interface type", Desc:"App interface",Type:"checkbox",Multi: true, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Stand-alone Software", Wght:10 },
			TA{Id:2, Text:"Client Server", Wght:80 },
			TA{Id:3, Text:"Web", Wght:60 },
			TA{Id:4, Text:"Mobile", Wght:60 },
			}, 
		},
		TQ{Id:5, Text:"Technology used to develop the application", Desc:"Technology",Type:"checkbox",Multi: true, Required:true, Answers:[]TA{
			TA{Id:1, Text:".Net", Wght:10},
			TA{Id:2, Text:"Java", Wght:80},
			TA{Id:3, Text:"PHP", Wght:60 },
			TA{Id:4, Text:"Other", Wght:10, WithText:true, Tip:"Technology"},
			}, 
		},
		TQ{Id:6, Text:"Used Operating System", Desc:"OS",Type:"checkbox",Multi: true, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Linux", Wght:10 , WithText:true, Tip:"Distro"},
			TA{Id:2, Text:"Windows", Wght:80, WithText:true, Tip: "Version" },
			TA{Id:3, Text:"OSX", Wght:60 },
			TA{Id:4, Text:"Unix", Wght:60 },
			TA{Id:5, Text:"Mainframe", Wght:10, WithText:true, Tip:"Version"},
			TA{Id:6, Text:"Other", Wght:10, WithText:true, Tip:"OS"},
			}, 
		},
		TQ{Id:7, Text:"Languages supported by the software user interface", Desc:"Interface Languages",Type:"checkbox",Multi: true, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Arabic", Wght:10},
			TA{Id:2, Text:"English", Wght:80},
			TA{Id:3, Text:"French", Wght:60 },
			TA{Id:4, Text:"Other", Wght:10, WithText:true, Tip:"Languages"},
			}, 
		},
		TQ{Id:8, Text:"Hardware Requirements", Desc:"",Type:"text", Multi:false, Required:true, Answers:[]TA{
		TA{Id:1, Text:"CPU", Required:true},
		TA{Id:2, Text:"Memory",Tip: "MB", Required: true},
		TA{Id:3, Text:"Storage",Tip: "GB", Required: true},
		TA{Id:4, Text:"Other",Tip: "Other HW"},
			},
		}, 
		TQ{Id:9, Text:"Pre-requisite software to run the solution", Desc:"",Type:"text", Multi:false, Required:true, Answers:[]TA{
		TA{Id:1, Text:"Database management system"},
		TA{Id:2, Text:"Web application server"},
		TA{Id:3, Text:"Other"},
			},
		},
		TQ{Id:10, Text:"Software can be deployed in a virtual machine", Desc:"",Type:"radio",Multi:false, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Yes", Wght:20 },
			TA{Id:2, Text:"No", Wght:80 },
			}, 
		},
		TQ{Id:11, Text:"Level of customization required to deploy the software", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"", Required:true, Length:"long", Tip:"List here all customizations that the solution needs to be deployed"},
			},
		},
		TQ{Id:12, Text:"Brief description about the software and the value it brings to the customer", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"", Required:true, Length:"long", Tip:"List here a description about the software and its values"},
			},
		},
	},
	}, //Section Business
	Section{Name:"Financial", Desc:"Tell us more about your financials",
	Questions: []TQ{
		TQ{Id:13, Text:"Industry/Market segment focus", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"", Required:true, Length:"long", Tip:"the industry or the market segment that the organization is focusing on via this solution"},
			},
		},
		TQ{Id:14, Text:"List of customers' references", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"", Required:true, Length:"long", Tip:"list here solution's customers"},
			},
		},
		TQ{Id:15, Text:"Revenue/Market share growth % in the last 4 years", Type:"text", Multi:false, Required:true, Answers: [] TA{
			TA{Id:1, Text:"", Required:true, Length:"long", Tip:"revenue or market share growth % in the last 4 years"},
			},
		},
		TQ{Id:16, Text:"Are you interested to provide your solution on the cloud?", Desc:"",Type:"radio",Multi:false, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Yes", Wght:20 },
			TA{Id:2, Text:"No", Wght:80 },
			}, 
		},
		TQ{Id:17, Text:"Does the technical staff have the capacity and interest to learn the cloud technology to avail your solution on the cloud?", Desc:"",Type:"radio",Multi:false, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Yes", Wght:20 },
			TA{Id:2, Text:"No", Wght:80 },
			}, 
		},
		TQ{Id:18, Text:"Is the company subscribed to IBM PartnerWorld?", Desc:"",Type:"radio",Multi:false, Required:true, Answers:[]TA{
			TA{Id:1, Text:"Yes", Wght:20 },
			TA{Id:2, Text:"No", Wght:80 },
			}, 
		},
		TQ{Id:19, Text:"Specify the subscription level", Desc:"",Type:"radio",Multi:false, Required:false, Answers:[]TA{
			TA{Id:1, Text:"Member", Wght:20 },
			TA{Id:2, Text:"Advanced", Wght:80 },
			TA{Id:2, Text:"Premier", Wght:80 },
			}, 
		},
	},
	}, //Section Financial
	}, //[]Sections
	}
)
